﻿using System;

namespace Survey.Model.SurveyEntities
{
    public class StringAnswer: Answer,IAnswer
    {

        public virtual String Content { get; set; }
        

        public StringAnswer(): base()
        {
        }

        public StringAnswer(String value)
        {
            Content = value;
        }
        public virtual String GetString()
        {
            return Content;
        }

        public virtual int GetAnswerType()
        {
            return (int)AnswerType.StringType;
        }
    }
}
